package com.qpf


def x = 2..4, y = 4

switch(x) {
    case 'a':
        println 'a'
        break
    case [1, 2, '3']:
        println 'list'
        break
    case [2..4]:
        println '[2..4]'
        break
    case BigDecimal:
        println 'BigDecimal'
        break
    default:
        switch (y) {
            case 4:
                println 4
        }
}